import Axios from "axios"
export default {
  data() {
    return {}
  },
  created() {},
  methods: {
    getList() {
      this.getRoleList(this.searchParams);
    },
    getRoleList(aparams) { //查询列表
      let self = this,
        params = {
          page: this.pageNumber,
          rp: this.pageSize
        };
      params = $.extend({}, params, aparams);
      Axios.post("pomplog/list.do", params)
        .then(function (res) {
          let data = res.data,
            list = data.data.rows;
          self.tbodysInfo = list;
          self.total = data.data.total;
        })
        .catch(function (err) {});
    },
    filterMultiCheck(selectionArr) { //必须定义获取多列的方法
      let result = [];
      selectionArr.map((item) => {
        result.push(item.id);
      });
      return result;
    },
  }
}
